06. Calculating CSS Pixels

Calculating CSS Pixels

QUESTION:

A mobile screen has a resolution of 1920 x 1080 px with a device pixel ratio of 2. What is the maximum width of a viewport in landscape mode measured in CSS pixels?

SOLUTION:

NOTE: The solutions are expressed in RegEx pattern. Udacity uses these patterns to check the given answer